<% form_remote_for @visitor, :url => {:controller => "visitors", :action => "check_signin", :method => "post", :event_id => @event}, :update => "check_signin", :html => { :multipart => true } do |f| %>
  <%= f.label :name, "Welcome to Sopo, please enter your name" %>

  <div class="box">
    <div class="b l"></div>
    <div class="b c"></div>
    <div class="b r"></div>
    <div class="m l"></div>
    <div class="m r"></div>
    <div class="t l"></div>
    <div class="t r"></div>

    <div class="text-blue">
      <%= f.text_field :name, :class => "type" %>
    </div>
  </div>

  <p class="buttons"><%= f.submit "Next", :class => "button" %> </p>

<% end %>

<div id="check_signin"></div>

